package com.heima.wemedia.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.heima.model.common.pojos.wemedia.WmNews;
import com.heima.model.common.pojos.wemedia.WmNewsComment;
import com.heima.model.common.vo.WmNewsCommentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WmCommentMapper extends BaseMapper<WmNews> {

    List<WmNewsComment> selectByArticle(@Param("beginDate") String beginDate, @Param("endDate") String endDate, @Param("userId") Integer userId);
}
